package org.example.bookstore.pojo.DO;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Comment {
    private int id;   //评论id
    private int bookId;   //商品id
    private int userId;   //用户id
    private int rating;   //商品评分
    private String content;  //评论内容
    private int CommentLikeCount; // 评论点赞数
    private int toCommentId;   //回复目标评论id
    private LocalDateTime commentTime;  //评论时间
    private LocalDateTime updateTime;  //更新时间

}
